<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Containers extends BaseModel
{
    protected $table = 'containers';

    public function from_campus(){
        return $this->belongsTo(Campus::class, 'from_campus_id');
    }

    public function to_campus(){
        return $this->belongsTo(Campus::class, 'to_campus_id');
    }

}
